package com.yc.chatroom.ui.client;

import java.util.Arrays;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

import com.yc.chatroom.ui.client.fx.AbstractFxApplication;
import com.yc.chatroom.ui.client.fx.FxmlView;

@SpringBootApplication
@ComponentScan(basePackages = {"com.yc.*"})//注意：一旦写这句话就代表扫描的位置完全以这里为准，没覆盖的就不扫描
public class ChatRoomClient extends AbstractFxApplication {

	public static void main(String[] args) {
		run(ChatRoomClient.class,
				Arrays.asList(new FxmlView[] { FxmlView.MODULE_DASHBOARD, FxmlView.MODULE_PROFILE, FxmlView.MAIN }),
				FxmlView.LOGIN, args);
		
	}
	
	
}
